<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>熊</title>
    <style>
        body {
            perspective: 700px;
        }
        section {
            position: relative;
            width: 630px;
            height: 300px;
            margin: 200px auto;
            transform-style: preserve-3d;
            /* transition: all 20s; */
            background-color: aqua;
            animation: rotate 20s linear infinite;
        }
        section:hover {
            animation-play-state: paused;
        }
        section div {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url(../images/png/feiche.png) no-repeat;
            background-size: 50%;
        }
        section div:nth-child(1) {
            transform: translateZ(301px);
        }
        section div:nth-child(2) {
            transform: rotateY(60deg) translateZ(301px);
        }
        section div:nth-child(3) { 
            transform: rotateY(120deg) translateZ(301px);
        }
        section div:nth-child(4) {
            transform: rotateY(-60deg) translateZ(301px);
        }
        section div:nth-child(5) {
            transform: rotateY(-120deg) translateZ(301px);
        }
        section div:nth-child(6) {
            transform: rotateY(-180deg) translateZ(301px);
        }
        @keyframes rotate {
            0% {
                transform: rotateY(0deg);
            }
            50% {
                transform: rotateY(-90deg);
            }
            100% {
                transform: rotateY(-180deg);
            }
        }
        @keyframes opacity {
            0% {
                opacity: .5;
            }
            50% {
                topacity: .5;
            }
            100% {
                opacity: .5;
            }
        }
    </style>
</head>
<body>
    <section>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </section>
</body>
</html>